Guide to HTML, JavaScript and PHP by David R. Brooks

Guide to HTML, JavaScript and PHP by David R. Brooks

Author:David R. Brooks
Language: eng
Format: epub
Publisher: Springer London, London


To start the transition from JavaScript to PHP, Document 8.2a below is an HTML ­document that will pass instrument and measurement data to a PHP application. See Appendix 4 for a “pseudocode” approach to organize an HTML/PHP solution to this problem.

Document 8.2a (PWcalc3.htm)

<html>

<head>

<title> WV calculations for calibrated instrument </title>

<script language= "javascript">

document . write ( "This document last modified on "

+ document . lastModified + "." );

</script>

</head>

<body bgcolor= "white">

<h2> Calculations for Total Precipitable Water Vapor (PW) </h2>

<p>

<form method= "post" action= "PWcalc3.php">

<table border= "2">

<tr bgcolor= "silver"><td

colspan= "4"><b> Location: </b></td></tr>

<td> longitude (decimal degrees): </td>

<td> <input type= "text" name= "lon" value= "-75.188"

size= "8"> </td>

<td> latitude (decimal degrees): </td>

<td><input type= "text" name= "lat" value= "39.955"

size= "8"></td></tr >

<tr bgcolor= "silver"><td colspan= "4">

<b> Instrument Serial Number: </b></td></tr>

<tr><td colspan= "4"><input type= "text" name= "SN"

value= "WV2-117" /></td></tr>

<tr bgcolor= "silver">

<td colspan= "4"><b> Date: </b></td></tr>

<tr><td> mm/dd/yyyy </td>

<td><input type= "text" name= "mon" value= "4"

size= "3"></td>

<td><input type= "text" name= "day" value= "5"

size= "3"></td>

<td><input type= "text" name= "yr" value= "2005"

size= "5"></td></tr>

<tr bgcolor= "silver"><td colspan= "4"><b> Time: </b></td>

<tr><td> hh:mm:ss ( <b><i><u> must </u></i> be Universal

Time </b> ) </td>

<td><input type= "text" name= "hr" value= "14"

size= "3"></td>

<td><input type= "text" name= "min" value= "33"

size= "3"></td>

<td><input type= "text" name= "sec" value= "15"

size= "3"></td></tr>

<tr><td colspan= "2" bgcolor= "silver"><b> Station

pressure (mbar, not currently used in

calculation): </b></td>

<td colspan= "2"><input type= "text" name= "p"

value= "1013" size= "7"></td></tr>

<tr bgcolor= "silver"><td colspan= "4">

<b> Instrument voltages: </b></td></tr>

<tr>

<td> IR1 </td>

<td><input type= "text" name= "IR1" value= "0.742"

size= "5"> </td>

<td> IR1 <sub> dark </sub></td>

<td><input type= "text" name= "IR1_dark" value= "0.003"

size= "5"></td>

</tr>

<tr>

<td> IR2 </td>

<td><input type= "text" name= "IR2" value= "0.963"

size= "5"></td>

<td> IR2 <sub> dark </sub></td>

<td><input type= "text" name= "IR2_dark" value= "0.004"

size= "5"></td>

</tr>

</table>

<input type= "submit"

value= "Click here to calculate PW…" />

</form>

</body>

</html>



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Popular ebooks
Deep Learning with Python by François Chollet(12592)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7791)
Autodesk Civil 3D 2024 from Start to Finish by Stephen Walz Tony Sabat(6603)
Mathematics for Game Programming and Computer Graphics by Penny de Byl(6494)
Taking Blender to the Next Level by Ruan Lotter(6267)
Express Your Creativity with Adobe Express by Rosie Sue(6089)
Hands-On Unity 2022 Game Development - Third Edition by Nicolas Alejandro Borromeo(5695)
Hands-On Unity 2022 Game Development by Nicolas Alejandro Borromeo(4790)
Adobe Illustrator for Creative Professionals by Clint Balsar(3683)
Unreal Engine 5 Character Creation, Animation, and Cinematics by Henk Venter & Wilhelm Ogterop(3651)
Going the Distance with Babylon.js by Josh Elster(3634)
Mastering Graphics Programming with Vulkan by Marco Castorina & Gabriel Sassone(3532)
Squeaky Clean Topology in Blender by Michael Steppig(3469)
Drawing Shortcuts: Developing Quick Drawing Skills Using Today's Technology by Leggitt Jim(2924)
Unreal Engine 5 Character Creation, Animation, and Cinematics by Henk Venter
 Wilhelm Ogterop(2876)
Rapid Viz: A New Method for the Rapid Visualization of Ideas by Kurt Hanks & Larry Belliston(2708)
The 46 Rules of Genius: An Innovator's Guide to Creativity (Voices That Matter) by Marty Neumeier(2663)
Learn Qt 5: Build modern, responsive cross-platform desktop applications with Qt, C++, and QML by Nicholas Sherriff(2371)
Fusion 360 for Makers by Lydia Sloan Cline(2225)
Hands-On Neural Networks with Keras by Niloy Purkait(2172)